<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div id="wrapper">
<div class="register_form">
<h1>Login</h1>

<p>Please fill out the following form with your login credentials:</p>

<div class="form">
    <table style="margin-left:55px;">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
        <tr><td colspan="2">
	<p class="note">Fields with <span class="required">*</span> are required.</p>
        </td></tr>
    </td></tr>
	<tr>
		<td><?php echo $form->labelEx($model,'email'); ?></td>
		<td><?php echo $form->textField($model,'email'); ?></td>
	</tr>
        <tr><td></td><td><?php echo $form->error($model,'email'); ?></td></tr>
        <tr>
		<td><?php echo $form->labelEx($model,'password'); ?></td>
		<td><?php echo $form->passwordField($model,'password'); ?></td>
        </tr>
        		<tr><td></td><td><?php echo $form->error($model,'password'); ?></td></tr>
            <tr><td colspan="2"><p class="hint">
			Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
                </p>
                </td></tr>
        <tr><td  colspan="2">
	<div class="row rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div></td></tr>
        <tr><td  colspan="2">
	<div class="row buttons">
		<?php echo CHtml::submitButton('Login'); ?>
	</div>
            </td></tr>

<?php $this->endWidget(); ?>
    </table>
            
</div><!-- form -->
</div>
</div>